import request from '@/utils/request'

// api地址
const api = {
  data: '/setting/data'
}

// 设置项详情
export function aindata(data) {
  return new Promise((resolve, reject) => {
    request({
      url: '/api/setting/data',
      method: 'get',
      data
    }).then(data => {
      resolve(data)
    }).catch((e) => {
  		console.log(e);
      reject(e)
    })
  })
}
